<template>
  <div class="app-container">
    <cs v-if="deviceCategory === 'CS'" />
    <zn v-if="deviceCategory === 'ZN'" />
    <all v-if="deviceCategory === 'ALL'" />
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import cs from "@/views/data/cs/index.vue";
import zn from "@/views/data/zn/index.vue";
import all from "@/views/data/all.vue";


export default {
  name: 'records',
  components: {cs,zn,all},
  computed: {
    ...mapGetters([
      'deviceCategory'
    ])
  }
}
</script>
